package com.qdc.datacenters.service;

import com.qdc.datacenters.domain.entity.ChatMsgRuleRange;
import com.qdc.datacenters.domain.query.rule.ChatMsgRuleRangeQuery;

import java.util.List;

/**
 * 会话规则范围表(ChatMsgRuleRange)表服务接口
 *
 * @author danmo
 * @since 2024-03-18 10:12:11
 */
public interface IChatMsgRuleRangeService extends IBaseService<ChatMsgRuleRange> {

    void saveBatchByRuleId(Long ruleId, List<ChatMsgRuleRangeQuery> rangeList);

    void updateBatchByRuleId(Long ruleId, List<ChatMsgRuleRangeQuery> rangeList);

    Boolean delBatchByQiIds(List<Long> ruleIds);

    List<ChatMsgRuleRange> getRuleRangeByRuleIds(List<Long> ruleIds);
}

